package com.hxy.service.Impl;

import com.hxy.dao.UserpopeMapper;
import com.hxy.pojo.Userpope;
import com.hxy.service.UserpopeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserpopeServiceImpl implements UserpopeService {
    @Autowired
    private UserpopeMapper userpopeMapper;

    @Override
    public List<String> findPopeNameByUserID(Integer statusid) {
        return userpopeMapper.getPermissionNames(statusid);
    }

    @Override
    public List<Userpope> selectAll() {
        return null;
    }
}
